#!/bin/bash
# for release file only

dst=release/`date "+%Y%m%d"`

if [ -d $dst ];then
	rm -rf $dst
fi

mkdir $dst

for i in `cat ziplist.txt`;
do
	mkdir $dst/$i
	cp $i/*.pyc $dst/$i/
done

#cp release/*.zip $dst/
cp -r user $dst/
cp -r txt $dst/
cp *.pyc $dst/
cp cdocgen.bat $dst/
cp README $dst/
cp 1.c $dst/
